import com.woniuxy.service.MyTest;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Author 罗蔚
 * @Date 2022/3/25 12:12
 * @Description TODO
 */
public class Text {
    public static void main(String[] args) {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("applicationContext.xml");
        MyTest myTest = applicationContext.getBean("myTest", MyTest.class);
        myTest.test();
    }
}
